package com.bzm;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;


@MapperScan({"com.bzm.mapper"})
//http://127.0.0.1:8086 
@SpringBootApplication
public class BzmImNettyNewApplication {

    public static void main(String[] args) {
        SpringApplication.run(BzmImNettyNewApplication.class, args);
    }
    
    @Bean
	public SpringBeanUtil getSpringBeanUtil() {
		return new SpringBeanUtil();
	}
	
	@Configuration
    @ComponentScan({
            //"com.bzm.config"
    })
    static class CommonsConfig {
    }
}
